@echo off
chcp 65001
set fileName=%1
if not exist %fileName% (
    echo  "文件不存在"
) else (
    echo "文件存在"
    echo "文件内容如下："
    set file = %fileName:./=%
    echo "%file%"
    type %file%
    pause
)